package com.workflow;

public class TaskDetailHistory extends TaskDetail {
	public static final String result_true = "0";//执行成功，进行下一个节点
	public static final String result_fasle = "1";//执行失败回退到上一个节点
	public static final String result_exp = "-1";//执行异常  流程挂起
	private String remark;// 备注
	private String result;// 执行结果 0：执行成功，进行下一个节点，1：执行失败回退到上一个节点，-1：执行异常

	/**
	 * 
	 */
	public TaskDetailHistory() {
		super();
	}

	/**
	 * @param remark
	 * @param result
	 */
	public TaskDetailHistory(String remark, String result) {
		super();
		this.remark = remark;
		this.result = result;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	@Override
	public String toString() {
		return "TaskDetailHistory [remark=" + remark + ", result=" + result + "]";
	}

}
